package uk.org.landeg.euler.problems.unported;
/**
 * 
 * @author Andy
 *
 *
 */
public class Euler075 extends AbstractProblem {
	@Override
	public String solve() {
		int L = 120;
		int maxVal = L;
		for (int m = 1 ; m < maxVal ; m++) {
			for (int n = 1 ; n <= m ; n++) {
				if (2 * m * (m+n)== L) {
					out.println(n + ", " + m);
					out.println(PythagTriplet.getInstance(m, n));
				}
			}
		}
		return out.toString();
	}
}
